public class BreadthFirstTraversalSearch extends Algorithm
Graph searching for subgraphs by performing a breadth
first search on each node of the graph.args, counter, listener, PROP_PROGRESS| Constructor and Description |
|---|
BreadthFirstTraversalSearch(ArgumentsBundle bundle)
Public constructor for initializing the BreadthFirstTraversalSearch with
default conditions.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<Graph> |
process(Graph graph)
Processes data.
|
private Graph |
searchNode(Graph graph,
Node node)
Helper method to search for the SubGraphs.
|
addPropertyChangeListener, cull, removePropertyChangeListener, setProgresspublic BreadthFirstTraversalSearch(ArgumentsBundle bundle)
bundle - the ArgumentsBundle containing the instantiation arguments.public java.util.ArrayList<Graph> process(Graph graph)
graph - the Graph object to search through.private Graph searchNode(Graph graph, Node node)
graph - the Graph object to search through.node - the node to use as the root.